 <div class="container-fluid">
                <!-- Page Heading -->
                 
                <div class="row">
                    <div class="col-lg-6">
                        <ol class="breadcrumb">
                            <li class="active">
                               <span class="glyphicon glyphicon-save" aria-hidden="true"></span> 批量导入
                            </li>
                        </ol>
                    </div>
                </div>

                <!-- /.row -->
                 <div class="panel panel-default col-lg-6  panel-body panel-primary">
                 <br/>
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="col-lg-3">
                                <label>开始代码</label>
                            </div>
                            <div class="col-lg-8">
                                <input type="text" class="form-control" id="beginCode"/>
                            </div>
                        </div>
                    </div>
                    <!-- /.row -->
                    <br/>
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="col-lg-3">
                                <label>结束代码</label>
                            </div>
                            <div class="col-lg-8">
                                <input type="text" class="form-control" id="endCode"/>
                            </div>
                        </div>
                    </div>
                    <br/>
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="col-lg-3 col-lg-offset-9">
                                <input class="btn btn-default" type="button" id="initSubmit" value="确认"/>
                            </div>
                        </div>
                    </div>
                    </div>
            </div>
            <!-- /.container-fluid -->
            <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" id="submitModal" data-backdrop="static">
                <div class="modal-dialog modal-sm">
                    <div class="modal-content" id="modalContent">
                      正在更新
                    </div>
                </div>
            </div>
            <script>
           
            
            
            $(document).ready(function(){
            $("#initSubmit").click(
                function(){ 
                    $("#submitModal").modal('show');
                    
                    $.ajax({
                    type: 'POST',
                    url: "__ROOT__/index.php/Home/Init/init",
                    data: {beginCode:$("#beginCode").val(),endCode:$("#endCode").val()},
                    success: function(data){
                    
                    //$("#modalContent").html("完成");
                    
                    $("#submitModal").delay(5000).modal('hide');
                    alert("完成！")
                    }
                });
                }
            );
            });
            
            /*
           $(document).ready(function(){
            $("#initSubmit").click(
            function(){
                $("#submitModal").modal('show');
            });
           });
            */
            </script>